package com.stox.dto.exception;

import com.stox.dto.web.Response;

@SuppressWarnings("rawtypes")
public class StoxResponseException extends StoxException {
	private static final long serialVersionUID = 1L;

	private final Response response;
	
	public StoxResponseException(Response response) {
		this.response = response;
	}

	public StoxResponseException(Response response, String message, Throwable cause) {
		super(message, cause);
		this.response = response;
	}

	public StoxResponseException(Response response, String message) {
		super(message);
		this.response = response;
	}

	public StoxResponseException(Response response, Throwable cause) {
		super(cause);
		this.response = response;
	}

	public Response getResponse() {
		return response;
	}
	
}
